package com.example.child_protection.dto.request.add;

import com.example.child_protection.dto.base.BaseRequestDTO;
import com.example.child_protection.enums.SexEnums;
import io.swagger.annotations.ApiParam;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 角色菜单授权请求DTO
 * @date 2018-11-1
 * @author Biz
 */
@Getter
@Setter
public class RoleMeunAndButtonInsertRequestDTO extends BaseRequestDTO {

    /**
     * 用户名
     *
     * @mbggenerated
     */
    @ApiParam(required = false,value = "角色id" )
    @NotNull
    private Long roleId;

    /**
     * 菜单信息
     *
     * @mbggenerated
     */
    @ApiParam(value = "菜单信息" )
    private String menuValues;

    /**
     * 按钮信息
     *
     * @mbggenerated
     */
    @ApiParam(value = "按钮信息" )
    private String buttonValues;

    public void valid(){

    }
    public boolean isValidGid() {

        return false;
    }

}
